package com.simtop;

import cn.hutool.cron.CronUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootVersion;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.SpringVersion;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Indexed;

/**
 * @Author: liuzhaobo
 * @Description: 形拓二次开发规范 对应 fox接口文档 为了减少漏洞 非必要不用get
 * @DateTime: 2022/9/1 0001 10:37
 * @Params:
 * @Return
 */
//定时任务
//@EnableScheduling
//启动类优化
@EnableScheduling
@SpringBootApplication
//@Indexed
public class MakeByLzbObject {

    public static void main(String[] args) {
        SpringApplication.run(MakeByLzbObject.class, args);
        //CronUtil.setMatchSecond(true);
        //  CronUtil.start();
/*        String springVersion = SpringVersion.getVersion();
        System.out.println(springVersion);*/
/*        String springBootVersion = SpringBootVersion.getVersion();
        System.out.println(springBootVersion);*/

    }

}
